import axios from 'axios'
axios.defaults.baseURL = '/api'

import './uiframe/style/index.scss'
import { createApp } from 'vue'
import router from './uiframe/router'

import App from './App.vue'

import VueAxios from 'vue-axios'
import CompFactory from './uiframe/layout/components/CompFactory.vue'

import socket from './uiframe/services/socket'

let app = createApp(App)
.use(VueAxios, axios)
.use(router)
.use(CompFactory)
.use(socket,{reConnect:true})
.mount('#ui-app')
